define(function(require, exports){
	var pubjs = require('pubjs');
	var util	= require('util');
	var grid  = require('@base/highGrid');
	var Base = grid.base.extend({
		init: function(config){
			config = pubjs.conf(config, {
					cols: [
						{name:'id',text:"Adx ID", sort: true,align: 'center'}
						,{name:'Name',text:"Adx 名称", align: 'center'}
					]
					,'hasMenu': true
					,'hasSearch': false
					,'hasTab': false
					,'hasExport': false
					,'hasAmount': false
					,'hasRefresh': true
					,'url': 'adexchange/list'
					,'sub_field': '_id'
					,'reqType': 'websocket'
					,'pager': {'size':10}
					,'param' :{
						'IsDeleted': false,
						defaultFormat:true
					}
					,'gridName': 'adexchange'
				}
			);


			this.Super('init', arguments);
		}
	});

	exports.base = Base;

});